package com.gzhryc.shared_device.common.payment.dao.models;

import com.gzhryc.common.NumberTools;

import java.io.Serializable;

/**
 * 提现配置信息
 * @version 2023-10-25
 */
public class CashWithdrawalConfig implements Serializable {

    private static final long serialVersionUID = 1L;
    
	private Integer minMoney = 100;					//一次提现的最小金额
    private Integer maxMoney = 50000;				//一次提现的最大金额
    private Integer autoMaxMoney = 0;				//自动审核金额
    private Integer dayUserMaxMoney = 500000;		//每人每天最大提现金额
    private Double serviceCharge = 0.0;				//提现手续费

    private String cashWithdrawalWeeks = "Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday";		//提现周
    private String cashWithdrawalTimes = "00:00:00 - 23:59:59";		//提现时间

    private Integer monthStartDay = 1;
    private Integer monthEndDay = 31;

    public Integer getMinMoney() {
        return minMoney;
    }

    public void setMinMoney(Integer minMoney) {
        this.minMoney = minMoney;
    }

    public Integer getMaxMoney() {
        return maxMoney;
    }

    public void setMaxMoney(Integer maxMoney) {
        this.maxMoney = maxMoney;
    }

    public Integer getAutoMaxMoney() {
        return autoMaxMoney;
    }

    public void setAutoMaxMoney(Integer autoMaxMoney) {
        this.autoMaxMoney = autoMaxMoney;
    }

    public Integer getDayUserMaxMoney() {
        return dayUserMaxMoney;
    }

    public void setDayUserMaxMoney(Integer dayUserMaxMoney) {
        this.dayUserMaxMoney = dayUserMaxMoney;
    }

    public Double getServiceCharge() {
        return serviceCharge;
    }

    public void setServiceCharge(Double serviceCharge) {
        this.serviceCharge = serviceCharge;
    }

    public String getCashWithdrawalWeeks() {
        return cashWithdrawalWeeks;
    }

    public void setCashWithdrawalWeeks(String cashWithdrawalWeeks) {
        this.cashWithdrawalWeeks = cashWithdrawalWeeks;
    }

    public String getCashWithdrawalTimes() {
        return cashWithdrawalTimes;
    }

    public void setCashWithdrawalTimes(String cashWithdrawalTimes) {
        this.cashWithdrawalTimes = cashWithdrawalTimes;
    }

    public Integer getMonthStartDay() {
        return monthStartDay;
    }

    public void setMonthStartDay(Integer monthStartDay) {
        this.monthStartDay = monthStartDay;
    }

    public Integer getMonthEndDay() {
        return monthEndDay;
    }

    public void setMonthEndDay(Integer monthEndDay) {
        this.monthEndDay = monthEndDay;
    }

    public String getMinMoneyStr() {
        return NumberTools.getMoneyStr(this.minMoney);
    }

    public String getMaxMoneyStr() {
        return NumberTools.getMoneyStr(this.maxMoney);
    }

    public String getAutoMaxMoneyStr() {
        return NumberTools.getMoneyStr(this.autoMaxMoney);
    }

    public String getDayUserMaxMoneyStr() {
        return NumberTools.getMoneyStr(this.dayUserMaxMoney);
    }
}